QT += widgets

TEMPLATE = lib
DEFINES += ICDEDITMODULE_LIBRARY

CONFIG += c++17
DESTDIR = $$PWD/../../Build

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    EnumConfig/EnumEdit.cpp \
    ICDConfig/FileOperation.cpp \
    ModelControl/DataTypeCombox.cpp \
    StructConfig/StructEdit.cpp \
    ICDConfig/ICDEditModule.cpp \
    ICDConfig/SignalEdit.cpp \
    ICDConfig/TopicEdit.cpp

HEADERS += \
    EnumConfig/EnumEdit.h \
    ICDConfig/FileOperation.h \
    ModelControl/DataTypeCombox.h \
    StructConfig/StructEdit.h \
    ICDConfig/ICDEditModule.h \
    ICDConfig/SignalEdit.h \
    ICDConfig/TopicEdit.h \
    ICDEditModule_global.h \
    Structs.h \
    rnpack.h

FORMS += \
    EnumConfig/EnumEdit.ui \
    ModelControl/DataTypeCombox.ui \
    StructConfig/StructEdit.ui \
    ICDConfig/ICDEditModule.ui \
    ICDConfig/SignalEdit.ui \
    ICDConfig/TopicEdit.ui

win32: LIBS += -L$$PWD/../../Build/ -lGY_ControlLibrary

INCLUDEPATH += $$PWD/../GY_ControlLibrary \
               $$PWD/../GY_ControlLibrary/ItemView/FilterModule \
DEPENDPATH += $$PWD/../GY_ControlLibrary

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target




